package com.huyna.tinhot.model;

import java.util.List;

public class Categories {
	private String m_strId;
	private String m_strName;
	private String m_strLink;
	private List<News> m_lstNews;
	
	public Categories(String strId, String strName, String strLink, List<News> lstNews) {
		super();
		this.m_strId = strId;
		this.m_strName = strName;
		this.m_strLink = strLink;
		this.setCategoryNews(lstNews);
	}
	
	/*
	 * Set Id for category
	 */
	public void setCategoryId(String id){
		this.m_strId = id;
	}
	
	/*
	 * Set name for category
	 */
	public void setCategoryName(String name){
		this.m_strName = name;
	}
	
	/*
	 * Set link for category
	 */
	public void setCategoryLink(String link){
		this.m_strLink = link;
	}
	
	/*
	 * Get Id of category
	 */
	public String getCategoryId(){
		return this.m_strId;
	}
	
	/*
	 * Get Name of category
	 */
	public String getCategoryName(){
		return this.m_strName;
	}
	
	/*
	 * Get Link of category
	 */
	public String getCategoryLink(){
		return this.m_strLink;
	}

	/*
	 * Get list news of category
	 */
	public List<News> getCategoryNews() {
		return m_lstNews;
	}

	/*
	 * Set list news for category
	 */
	public void setCategoryNews(List<News> lstNews) {
		this.m_lstNews = lstNews;
	}
}
